package com.ruoyi.stock.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.stock.mapper.QwEchnicalaspectMapper;
import com.ruoyi.stock.domain.QwEchnicalaspect;
import com.ruoyi.stock.service.IQwEchnicalaspectService;

/**
 * 技术分析Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-08-16
 */
@Service
public class QwEchnicalaspectServiceImpl implements IQwEchnicalaspectService 
{
    @Autowired
    private QwEchnicalaspectMapper qwEchnicalaspectMapper;

    /**
     * 查询技术分析
     * 
     * @param echnicalaspectId 技术分析主键
     * @return 技术分析
     */
    @Override
    public QwEchnicalaspect selectQwEchnicalaspectByEchnicalaspectId(Long echnicalaspectId)
    {
        return qwEchnicalaspectMapper.selectQwEchnicalaspectByEchnicalaspectId(echnicalaspectId);
    }

    /**
     * 查询技术分析列表
     * 
     * @param qwEchnicalaspect 技术分析
     * @return 技术分析
     */
    @Override
    public List<QwEchnicalaspect> selectQwEchnicalaspectList(QwEchnicalaspect qwEchnicalaspect)
    {
        return qwEchnicalaspectMapper.selectQwEchnicalaspectList(qwEchnicalaspect);
    }

    /**
     * 新增技术分析
     * 
     * @param qwEchnicalaspect 技术分析
     * @return 结果
     */
    @Override
    public int insertQwEchnicalaspect(QwEchnicalaspect qwEchnicalaspect)
    {
        return qwEchnicalaspectMapper.insertQwEchnicalaspect(qwEchnicalaspect);
    }

    /**
     * 修改技术分析
     * 
     * @param qwEchnicalaspect 技术分析
     * @return 结果
     */
    @Override
    public int updateQwEchnicalaspect(QwEchnicalaspect qwEchnicalaspect)
    {
        return qwEchnicalaspectMapper.updateQwEchnicalaspect(qwEchnicalaspect);
    }

    /**
     * 批量删除技术分析
     * 
     * @param echnicalaspectIds 需要删除的技术分析主键
     * @return 结果
     */
    @Override
    public int deleteQwEchnicalaspectByEchnicalaspectIds(Long[] echnicalaspectIds)
    {
        return qwEchnicalaspectMapper.deleteQwEchnicalaspectByEchnicalaspectIds(echnicalaspectIds);
    }

    /**
     * 删除技术分析信息
     * 
     * @param echnicalaspectId 技术分析主键
     * @return 结果
     */
    @Override
    public int deleteQwEchnicalaspectByEchnicalaspectId(Long echnicalaspectId)
    {
        return qwEchnicalaspectMapper.deleteQwEchnicalaspectByEchnicalaspectId(echnicalaspectId);
    }
}
